package com.example.iccil.utils;


import org.springframework.util.DigestUtils;

/**
 * @author yolo
 * @Program yolo-picture
 * @description 加密解密工具
 * @create 2025-05-13 17:50
 **/
public class EncryptUtils {
    public String getEncryptPassword(String userPassword) {
        // 盐值，混淆密码
        final String SALT = "yolo";
        return DigestUtils.md5DigestAsHex((SALT + userPassword).getBytes());
    }

}
